﻿using System;
using Newtonsoft.Json;

namespace OrkutAPILibrary.Entities
{
    /// <summary>
    /// Orkut Media Item
    /// </summary>
    public class OrkutMediaItem
    {
        /// <summary>
        /// Gets or sets the type of the media.
        /// </summary>
        /// <value>The type of the media.</value>
        [JsonProperty(PropertyName = "type")]
        public string MediaType { get; internal set; }

        /// <summary>
        /// Gets or sets the media title.
        /// </summary>
        /// <value>The media title.</value>
        [JsonProperty(PropertyName = "title")]
        public string MediaTitle { get; set; }

        /// <summary>
        /// Gets or sets the thumbnail URL.
        /// </summary>
        /// <value>The thumbnail URL.</value>
        [JsonProperty(PropertyName = "thumbnailUrl")]
        public Uri ThumbnailUrl { get; internal set; }

        /// <summary>
        /// Gets or sets the page URL.
        /// </summary>
        /// <value>The page URL.</value>
        [JsonProperty(PropertyName = "pageUrl")]
        public Uri PageUrl { get; internal set; }
    }
}
